﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1.DesignerPatter.Observer
{
    class StockObserver:Observer
    {
        public StockObserver(Isubject isub, string name)
            : base(isub, name)
        { }

        public override void Update()
        {
            Console.WriteLine(string.Format("{0} {1} 继续工作",Isub.SubjectState,this.name));
        }
    }
}
